package com.param.impl;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import com.param.concat.IPage;

public class Page implements IPage{

	@NotNull
	@Min(value = 1, message = "分页 最小值为 1")
	private Integer pageNum;
	
	@NotNull
	@Min(value = 1, message = "显示数量 最小值为 1")
	private Integer pageSize;

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	
	
	
}
